package com.demo.test.chainOfResponsibility;

import com.demo.test.chainOfResponsibility.iml.Handle;

public class Client {
    public static  void main(String[] agr){
        Handle level1Handle = new Level1Handle();
        Handle level2Handle = new Level2Handle();
        Handle level3Handle = new Level3Handle();

        level1Handle.setHandle(level2Handle);
        level2Handle.setHandle(level3Handle);

        level1Handle.handleRequest(10);
    }
}
